package com.ruoyi.factory.buyprice.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 折线图对象 t_buma_statistics_day
 * 
 * @author liujiaji
 * @date 2024-07-02
 */
public class BumaStatisticsDay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String maname;

    /** 编号 */
    @Excel(name = "编号")
    private String code;

    /** 类型1-物料大类 2原料 3渠道 4erp物料 */
    @Excel(name = "类型1-物料大类 2原料 3渠道 4erp物料")
    private String type;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal num;

    /** 日期 */
    @Excel(name = "日期")
    private String date;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date2;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String dateid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fgcCreator;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date fgcCreatedate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fgcLastmodifier;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date fgcLastmodifydate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date fgcRowversion;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fgcUpdatehelp;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setManame(String maname) 
    {
        this.maname = maname;
    }

    public String getManame() 
    {
        return maname;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setNum(BigDecimal num)
    {
        this.num = num;
    }

    public BigDecimal getNum()
    {
        return num;
    }
    public void setDate(String date) 
    {
        this.date = date;
    }

    public String getDate() 
    {
        return date;
    }
    public void setDate2(Date date2) 
    {
        this.date2 = date2;
    }

    public Date getDate2() 
    {
        return date2;
    }
    public void setDateid(String dateid) 
    {
        this.dateid = dateid;
    }

    public String getDateid() 
    {
        return dateid;
    }
    public void setFgcCreator(String fgcCreator) 
    {
        this.fgcCreator = fgcCreator;
    }

    public String getFgcCreator() 
    {
        return fgcCreator;
    }
    public void setFgcCreatedate(Date fgcCreatedate) 
    {
        this.fgcCreatedate = fgcCreatedate;
    }

    public Date getFgcCreatedate() 
    {
        return fgcCreatedate;
    }
    public void setFgcLastmodifier(String fgcLastmodifier) 
    {
        this.fgcLastmodifier = fgcLastmodifier;
    }

    public String getFgcLastmodifier() 
    {
        return fgcLastmodifier;
    }
    public void setFgcLastmodifydate(Date fgcLastmodifydate) 
    {
        this.fgcLastmodifydate = fgcLastmodifydate;
    }

    public Date getFgcLastmodifydate() 
    {
        return fgcLastmodifydate;
    }
    public void setFgcRowversion(Date fgcRowversion) 
    {
        this.fgcRowversion = fgcRowversion;
    }

    public Date getFgcRowversion() 
    {
        return fgcRowversion;
    }
    public void setFgcUpdatehelp(String fgcUpdatehelp) 
    {
        this.fgcUpdatehelp = fgcUpdatehelp;
    }

    public String getFgcUpdatehelp() 
    {
        return fgcUpdatehelp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("maname", getManame())
            .append("code", getCode())
            .append("type", getType())
            .append("price", getPrice())
            .append("num", getNum())
            .append("date", getDate())
            .append("date2", getDate2())
            .append("dateid", getDateid())
            .append("fgcCreator", getFgcCreator())
            .append("fgcCreatedate", getFgcCreatedate())
            .append("fgcLastmodifier", getFgcLastmodifier())
            .append("fgcLastmodifydate", getFgcLastmodifydate())
            .append("fgcRowversion", getFgcRowversion())
            .append("fgcUpdatehelp", getFgcUpdatehelp())
            .toString();
    }
}
